package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 家庭档案管理对象 family
 * 
 * @author moweiyu
 * @date 2021-06-09
 */
public class Family extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 县级编号 */
    @Excel(name = "县级编号")
    private Long countyCode;

    /** 乡镇编号 */
    @Excel(name = "乡镇编号")
    private Long townCode;

    /** 村编号 */
    @Excel(name = "村编号")
    private Long countysideCode;

    /** 组编号 */
    @Excel(name = "组编号")
    private Long groupCode;

    /** 家庭编号 */
    @Excel(name = "家庭编号")
    private Long familyCode;

    /** 户属性 */
    @Excel(name = "户属性")
    private String familyProperty;

    /** 户主姓名 */
    @Excel(name = "户主姓名")
    private String householderName;

    /** 家庭人口数 */
    @Excel(name = "家庭人口数")
    private Integer familyNumberPeople;

    /** 农业人口数 */
    @Excel(name = "农业人口数")
    private Integer familyFarmPeople;

    /** 家庭住址 */
    @Excel(name = "家庭住址")
    private String familyAddress;

    /** 登记员 */
    @Excel(name = "登记员")
    private String Registrant;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCountyCode(Long countyCode) 
    {
        this.countyCode = countyCode;
    }

    public Long getCountyCode() 
    {
        return countyCode;
    }
    public void setTownCode(Long townCode) 
    {
        this.townCode = townCode;
    }

    public Long getTownCode() 
    {
        return townCode;
    }
    public void setCountysideCode(Long countysideCode) 
    {
        this.countysideCode = countysideCode;
    }

    public Long getCountysideCode() 
    {
        return countysideCode;
    }
    public void setGroupCode(Long groupCode) 
    {
        this.groupCode = groupCode;
    }

    public Long getGroupCode() 
    {
        return groupCode;
    }
    public void setFamilyCode(Long familyCode) 
    {
        this.familyCode = familyCode;
    }

    public Long getFamilyCode() 
    {
        return familyCode;
    }
    public void setFamilyProperty(String familyProperty) 
    {
        this.familyProperty = familyProperty;
    }

    public String getFamilyProperty() 
    {
        return familyProperty;
    }
    public void setHouseholderName(String householderName) 
    {
        this.householderName = householderName;
    }

    public String getHouseholderName() 
    {
        return householderName;
    }
    public void setFamilyNumberPeople(Integer familyNumberPeople) 
    {
        this.familyNumberPeople = familyNumberPeople;
    }

    public Integer getFamilyNumberPeople() 
    {
        return familyNumberPeople;
    }
    public void setFamilyFarmPeople(Integer familyFarmPeople) 
    {
        this.familyFarmPeople = familyFarmPeople;
    }

    public Integer getFamilyFarmPeople() 
    {
        return familyFarmPeople;
    }
    public void setFamilyAddress(String familyAddress) 
    {
        this.familyAddress = familyAddress;
    }

    public String getFamilyAddress() 
    {
        return familyAddress;
    }
    public void setRegistrant(String Registrant) 
    {
        this.Registrant = Registrant;
    }

    public String getRegistrant() 
    {
        return Registrant;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("countyCode", getCountyCode())
            .append("townCode", getTownCode())
            .append("countysideCode", getCountysideCode())
            .append("groupCode", getGroupCode())
            .append("familyCode", getFamilyCode())
            .append("familyProperty", getFamilyProperty())
            .append("householderName", getHouseholderName())
            .append("familyNumberPeople", getFamilyNumberPeople())
            .append("familyFarmPeople", getFamilyFarmPeople())
            .append("familyAddress", getFamilyAddress())
            .append("Registrant", getRegistrant())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
